﻿namespace WebsocketDemo.Mode
{
    public class MyHostedService: IHostedService
    {
        public async Task StartAsync(CancellationToken cancellationToken)
        {
            //Factory.SetRedisClient();
        }

        public async Task StopAsync(CancellationToken cancellationToken)
        {
            //Cleanup logic here
        }
    }
}
